package com.bean;

import com.imessage.type.BaseState;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;

@Getter
@Setter
@ToString
@Entity
@Table(name = "business_error_phone", schema = "public")
public class BusinessErrorPhone extends BaseModel implements Serializable {

    @Column(name = "phone", nullable = true, length = 255)
    private String phone;

    @Column(name = "state", nullable = true, length = 2)
    private BaseState state = BaseState.normal;




}
